Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: customised setting details #625

Merged

Conversation

rando128
Copy link
Contributor

@rando128 rando128 commented Apr 22, 2023

Description

This PR highlights in the coin settings view which setting differs from the global configuration.

This is done with a new function warnIfAttributeCustomised that changes the CSS after comparing the symbol attribute value (this.props.symbolInfo.symbolConfiguration) with the global attribute value (this.props.configuration).

This PR also adds the conservative mode setting in the settings view, since this has not been done in PR #585.

Motivation and Context

When playing with symbol settings, I often struggle to remember what I changed from the global settings and I end up going through a tedious comparison exercise. This feature helps identifying customised settings rapidly.

How Has This Been Tested?

This is working on my prod setup.

Screenshots (if appropriate):

Screenshot 2023-04-22 at 10 52 50

Screenshot 2023-04-22 at 10 53 09

@rando128 rando128 changed the title feat/customised setting details feat: customised setting details Apr 22, 2023
@chrisleekr
Copy link
Owner

Nice one @rando128

I merged!

@chrisleekr chrisleekr merged commit db78f52 into chrisleekr:master May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants